@Test
public void textFilterTest() {

	IdmBasePermission permission = IdmBasePermission.ADMIN;
	SystemEntityType entityType = SystemEntityType.IDENTITY;
	SysSystemDto system = createSystem();
	SysSchemaObjectClassDto objectClass = createObjectClass(system);
	SysSystemMappingDto mappingSystem1 = testHelper.createMappingSystem(entityType, objectClass);
	mappingSystem1.setName("SomeName01");
	mappingService.save(mappingSystem1);
	SysSystemMappingDto mappingSystem2 = testHelper.createMappingSystem(entityType, objectClass);
	mappingSystem2.setName("SomeName02");
	mappingService.save(mappingSystem2);
	SysSystemMappingDto mappingSystem3 = testHelper.createMappingSystem(entityType, objectClass);
	mappingSystem3.setName("SomeName22");
	mappingService.save(mappingSystem3);
	SysSystemMappingFilter filter = new SysSystemMappingFilter();
	filter.setText("SomeName0");
	Page<SysSystemMappingDto> result = mappingService.find(filter, null, permission);
	assertEquals(2, result.getTotalElements());
	assertTrue(result.getContent().contains(mappingSystem1));
	assertTrue(result.getContent().contains(mappingSystem2));
}