@Test
public void setProductModulesForAProductThatDoesNotExist(){

    final RepositoryHandler repositoryHandler = GrapesTestUtils.getRepoHandlerMock();
    final ProductHandler productHandler = new ProductHandler(repositoryHandler);
    Exception exception = null;
    try {
        final List<String> moduleNames = Lists.newArrayList("module1", "module2", "module3");
        productHandler.setProductModules("doesNotExist", moduleNames);
    }
    catch(Exception e){
        exception = e;
    }
    assertNotNull(exception);
}