@Test
public void parameterNotNullWithMissingParameterName() throws Exception {

    exception.expect(IllegalArgumentException.class);
    exception.expectMessage("You must provide a parameter name!");
    Assert.assertNotNull("", null);
}