### Question:
ConditionParamPresenter { public String getName() { return view.getName(); } @Inject  ConditionParamPresenter(final View view, final ClientTranslationService translationService); @PostConstruct void init(); View getView(); String getName(); void setName(String name); void setHelp(String help); String getValue(); void setValue(String value); void clear(); void clearError(); void setError(String error); void setReadonly(boolean readonly); void setOnChangeCommand(Command onChangeCommand); boolean validateParam(String expectedType);  }### Answer:
@Test public void testGetName() { when(view.getName()).thenReturn(VALUE); assertEquals(VALUE, presenter.getName()); }
@Test public void testValidateShortParamSuccessful() { testValidateParamSuccessful(Short.class.getName(), "1234"); }
@Test public void testValidateIntParamSuccessful() { testValidateParamSuccessful(Integer.class.getName(), "12345678"); }
@Test public void testValidateLongParamSuccessful() { testValidateParamSuccessful(Long.class.getName(), "12345678910"); }
@Test public void testValidateFloatParamSuccessful() { testValidateParamSuccessful(Float.class.getName(), "12345.12"); }
@Test public void testValidateDoubleParamSuccessful() { testValidateParamSuccessful(Double.class.getName(), "12345678910.12"); }
@Test public void testValidateBigIntegerParamSuccessful() { testValidateParamSuccessful(BigInteger.class.getName(), "123456789101112131415"); }
@Test public void testValidateBigDecimalParamSuccessful() { testValidateParamSuccessful(BigDecimal.class.getName(), "123456789101112131415.1234"); }