@Test
public void testDelete() {

    thrown.expect(NullPointerException.class);
    ElkConnectorImpl impl = new ElkConnectorImpl();
    PolicyRestAdapter adapter = new PolicyRestAdapter();
    impl.delete(adapter);
    fail("Expected exception to be thrown");
}