@Test
public void testRegistryAdapterNegCase2() {

    thrown.expect(NullPointerException.class);
    RegistryAdapter adapter = new RegistryAdapter();
    adapter.addCoreTriggers();
    fail("Expecting an exception.");
}