@Test public void testWrite() throws DataFormatException { Account account = new Account("manager", Account.Admin, 100); assertTrue(account.equals(new Account(account.toString()))); }