public void testConstructorWithoutAttr() { Context context = TestHelpers.getContext(); UpdateConfigsV0_6 testProtocol = UpdateConfigs.v0_6(); JsonObject msg2 = testProtocol.statusMsg(context); testStatusMsg(msg2); }
public void testConstructorWithAttr() { Context context = TestHelpers.getContext(); UpdateConfigsV0_6 testProtocol = UpdateConfigs.v0_6(name, logoUrl); JsonObject msg = testProtocol.updateMsg(context); testUpdateMsgMessages(msg); JsonObject msg2 = testProtocol.statusMsg(context); testStatusMsg(msg2); }