360361362363364365366367368369370
beanConfigurations, GolfPlayer.class, "getHandicap" ); assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.UNWRAP ); } @Test @TestForIssue(jiraKey = "HV-925") public void testSkipUnwrapValidatedValueOnProperty() throws Exception {
376377378379380381382383384385386
beanConfigurations, GolfPlayer.class, "getScore" ); assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.SKIP_UNWRAP ); } @Test @TestForIssue(jiraKey = "HV-819") public void unwrapValidatedValueOnMethod() throws Exception {
392393394395396397398399400401402
beanConfigurations, GolfPlayer.class, "enterTournament" ); assertEquals( constrainedMethod.unwrapMode(), UnwrapMode.UNWRAP ); } @Test @TestForIssue(jiraKey = "HV-819") public void unwrapValidatedValueOnConstructor() throws Exception {
409410411412413414415416417418419
beanConfigurations, Wrapper.class, Object.class ); assertEquals( constrainedConstructor.unwrapMode(), UnwrapMode.UNWRAP ); } @Test @TestForIssue(jiraKey = "HV-819") public void unwrapValidatedValueOnParameter() throws Exception {