@Test public void testReadStringEmpty() throws Exception { instantiate("0:123"); assertEquals("", instance.readString()); assertEquals(3, instance.available()); }
@Test public void testReadString() throws Exception { instantiate("12:Hello World!123"); assertEquals("Hello World!", instance.readString()); assertEquals(3, instance.available()); }