HarvestAgentMemoryChecker extends MemoryChecker { public void setHarvestAgent(HarvestAgent harvestAgent) { this.harvestAgent = harvestAgent; } HarvestAgentMemoryChecker(); HarvestAgent getHarvestAgent(); void setHarvestAgent(HarvestAgent harvestAgent);  }
@Test public final void testSetHarvestAgent() { testInstance.setHarvestAgent(new MockHarvestAgent()); assertTrue(testInstance.getHarvestAgent() != null); }