@Test
public void afterPropertiesSet_WithNullService_NoException() throws Exception {

    ServiceProperties serviceProperties = new LaxServiceProperties();
    serviceProperties.setService(null);
    serviceProperties.afterPropertiesSet();
    assertThat(serviceProperties.getService()).isNull();
}