@Test
public void should_throw_NullPointerException_when_find_asset_path_with_type_null() throws Exception {

    exception.expect(NullPointerException.class);
    exception.expectMessage("Asset type is required");
    assetRepository.findAssetPath("page-id", "myfile.js", null);
}