@Test public void construction() throws Exception { context = new RequestContext(); context.setConfig("default"); context.setUser("test-user"); tupleDesc = mock(HBaseTupleDescription.class); PowerMockito.whenNew(HBaseTupleDescription.class).withArguments(context).thenReturn(tupleDesc); HBaseResolver resolver = new HBaseResolver(); resolver.initialize(context); PowerMockito.verifyNew(HBaseTupleDescription.class).withArguments(context); }
@Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); }
HBaseResolver extends BasePlugin implements Resolver { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); } }
HBaseResolver extends BasePlugin implements Resolver { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); }  }
HBaseResolver extends BasePlugin implements Resolver { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); }  @Override void initialize(RequestContext requestContext); @Override List<OneField> getFields(OneRow onerow); @Override OneRow setFields(List<OneField> record); }
HBaseResolver extends BasePlugin implements Resolver { @Override public void initialize(RequestContext requestContext) { super.initialize(requestContext); tupleDescription = new HBaseTupleDescription(context); }  @Override void initialize(RequestContext requestContext); @Override List<OneField> getFields(OneRow onerow); @Override OneRow setFields(List<OneField> record);  }