public class ReflectionBoostUtilsTest extends TestRoot {
@Test
public void testCopyProperties() throws Exception {
LogBoosterConfiguration source = new LogBoosterConfiguration();
boolean notDefaultActivateLines = !source.isActivateLines();
source.setActivateLines(notDefaultActivateLines);
LogBoosterConfiguration target = new LogBoosterConfiguration();
Assert.assertFalse(source.isActivateLines() == target.isActivateLines());
ReflectionBoostUtils.copyProperties(source, target);
Assert.assertTrue(source.isActivateLines() == target.isActivateLines());
}