@Test(expected = IllegalArgumentException.class) public void shouldThrowExceptionWhenGettingNonNullParameter() { checkNullMandatory("nullable", "non null"); }
@Test public void shouldDoNotThrowExceptionWhenGettingNullParameter() { checkNullMandatory("nullable", null); }