@Test public void shouldBeAbleToReturnByteArray() throws Exception { // Make contents final Asset asset = EmptyAsset.INSTANCE; final byte[] contentFromGetSource = ((EmptyAsset)asset).getSource(); Assert.assertTrue(contentFromGetSource.length == 0); } }