### Question:
CpanDataAccess { @Nullable public Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName) { return tx.findAssetWithProperty(MetadataNodeEntityAdapter.P_NAME, assetName, bucket); }  @Nullable Component findComponent(final StorageTx tx,
                                 final Repository repository,
                                 final String name,
                                 final String version); @Nullable Asset findAsset(final StorageTx tx, final Bucket bucket, final String assetName); Content saveAsset(final StorageTx tx,
                           final Asset asset,
                           final Supplier<InputStream> contentSupplier,
                           final Payload payload); Content saveAsset(final StorageTx tx,
                           final Asset asset,
                           final Supplier<InputStream> contentSupplier,
                           final String contentType,
                           @Nullable final AttributesMap contentAttributes); Content toContent(final Asset asset, final Blob blob); static final List<HashAlgorithm> HASH_ALGORITHMS; }### Answer:
@Test public void findAsset() { when(tx.findAssetWithProperty(any(), any(), any(Bucket.class))) .thenReturn(asset); assertThat(underTest.findAsset(tx, bucket, assetName), is(equalTo(asset))); }