### Question:
ClientServerNegotationPolicyFromPropertiesBuilder { public ClientServerNegotationPolicyFromPropertiesBuilder(final IRODSSession irodsSession) { if (irodsSession == null) { throw new IllegalArgumentException("null irodsSession"); } this.irodsSession = irodsSession; } ClientServerNegotationPolicyFromPropertiesBuilder(final IRODSSession irodsSession); ClientServerNegotiationPolicy buildClientServerNegotiationPolicyFromJargonProperties();  }### Answer:
@Test public void testClientServerNegotationPolicyFromPropertiesBuilder() throws Exception { SettableJargonPropertiesMBean jargonProperties = new SettableJargonProperties(); jargonProperties.setNegotiationPolicy(SslNegotiationPolicy.CS_NEG_REQUIRE); IRODSSession irodsSession = Mockito.mock(IRODSSession.class); Mockito.when(irodsSession.getJargonProperties()).thenReturn(jargonProperties); ClientServerNegotationPolicyFromPropertiesBuilder builder = new ClientServerNegotationPolicyFromPropertiesBuilder( irodsSession); ClientServerNegotiationPolicy actual = builder.buildClientServerNegotiationPolicyFromJargonProperties(); Assert.assertEquals(SslNegotiationPolicy.CS_NEG_REQUIRE, actual.getSslNegotiationPolicy()); }