@@ -0,0 +1,1854 @@
+package org.osiam.client;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.osiam.resources.scim.User;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.TestExecutionListeners;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.support.DependencyInjectionTestExecutionListener;%0A%0Aimport com.github.springtestdbunit.DbUnitTestExecutionListener;%0Aimport com.github.springtestdbunit.annotation.DatabaseOperation;%0Aimport com.github.springtestdbunit.annotation.DatabaseSetup;%0Aimport com.github.springtestdbunit.annotation.DatabaseTearDown;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(%22/context.xml%22)%0A@TestExecutionListeners(%7B DependencyInjectionTestExecutionListener.class,%0A        DbUnitTestExecutionListener.class %7D)%0A@DatabaseTearDown(value = %22/database_tear_down.xml%22, type = DatabaseOperation.DELETE_ALL)%0A@DatabaseSetup(value = %22/database_seeds/SearchByExtensionIT/extensions.xml%22)%0Apublic class EmptyDateIT extends AbstractIntegrationTestBase %7B%0A    %0A    @Test%0A    public void replace_user_with_empty_date_extension_fail() %7B%0A        User user = oConnector.getUser(%22df7d06b2-b6ee-42b1-8c1b-4bd1176cc8d4%22, accessToken);%0A        user.getExtension(%22extension%22).addOrUpdateField(%22birthday%22, %22%22);%0A        user.getExtension(%22extension%22).addOrUpdateField(%22gender%22, %22%22);%0A        %0A        User replacedUser = oConnector.replaceUser(user, accessToken);%0A        %0A        assertThat(replacedUser.getExtension(%22extension%22).isFieldPresent(%22birthday%22), is(equalTo(false)));%0A        assertThat(replacedUser.getExtension(%22extension%22).isFieldPresent(%22gender%22), is(equalTo(false)));%0A    %7D%0A%0A%7D

add test for empty date string workaround