Fixed Log with respect to variations

This commit is contained in:
2019-09-18 15:00:31 +02:00
parent ea8d754a72
commit 47a120e651
5 changed files with 61 additions and 42 deletions

View File

@ -39,7 +39,7 @@ class LogTest {
*/
@Test
void testClone() {
Log other = (Log) log.clone();
Log other = new Log(log);
log.setActiveColor(Color.WHITE);
other.setActiveColor(Color.BLACK);
assertNotEquals(other.getActiveColor(), log.getActiveColor());