@Test
public void testUpdate() {

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