RpcRoutingStrategy implements Identifiable<QName> { public abstract QName getContext(); private  RpcRoutingStrategy(final QName identifier); abstract QName getLeaf(); abstract QName getContext(); @Override final QName getIdentifier(); abstract boolean isContextBasedRouted(); static RpcRoutingStrategy from(final RpcDefinition rpc); static Optional<QName> getRoutingContext(final DataSchemaNode schemaNode);  }
@Test public void getContextTest() { assertThrows(UnsupportedOperationException.class, () -> rpcRoutingStrategy.getContext()); }