2 changed files with 31 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
package org.thingsboard.server.common.data.id; |
|||
|
|||
import org.junit.Assert; |
|||
import org.junit.Test; |
|||
|
|||
public class EntityIdTest { |
|||
|
|||
@Test |
|||
public void givenConstantNullUuid_whenCompare_thenToStringEqualsPredefinedUuid() { |
|||
Assert.assertEquals("13814000-1dd2-11b2-8080-808080808080", EntityId.NULL_UUID.toString()); |
|||
} |
|||
|
|||
} |
|||
Loading…
Reference in new issue