diff options
Diffstat (limited to 'test/org/traccar/model/MiscFormatterTest.java')
-rw-r--r-- | test/org/traccar/model/MiscFormatterTest.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/org/traccar/model/MiscFormatterTest.java b/test/org/traccar/model/MiscFormatterTest.java deleted file mode 100644 index eb93d5b38..000000000 --- a/test/org/traccar/model/MiscFormatterTest.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.traccar.model; - -import static org.junit.Assert.assertEquals; -import org.junit.Test; - -public class MiscFormatterTest { - - @Test - public void testToString() throws Exception { - - Position position = new Position(); - position.set("a", "1"); - position.set("b", "2"); - position.set("a", "3"); - - assertEquals("<info><a>3</a><b>2</b></info>", MiscFormatter.toXmlString(position.getAttributes())); - - } - -} |