Exchange { public abstract Object newNativeResponse(); protected  Exchange(String id); final String getId(); abstract Object newNativeResponse(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj); @Override String toString();  }
@Test(expected = UnsupportedOperationException.class) public void testNoExchange_nativeResponse() { NoExchange.INSTANCE.newNativeResponse(); }