@Test
public void should_return_error_when_uploading_file_null() {

    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage(is("Part named [file] is needed to successfully import a component"));
    assetService.upload(null, aPage().build(), "js");
}