@Test
public void testGenerateLocationsShouldThrowNullPointerExceptionIfTestClassIsNull() {

    // Given:
    expectedException.expect(NullPointerException.class);
    expectedException.expectMessage("'testClass' must not be null");
    // When:
    DataProviderResolverContext.generateLocations(null);
    // Then: expect exception
}