SamplerProperties { public void setPercentage(float percentage) { this.percentage = percentage; }  float getPercentage(); void setPercentage(float percentage); String getRuleClassName(); void setRuleClassName(String ruleClassName);  }
@Test public void setPercentage() { samplerProperties.setPercentage(20); Assert.assertTrue(samplerProperties.getPercentage() == 20); }