Exemplo n.º 1
0
        public void Equals_ActuallyEqual()
        {
            var first = new LoginResponse(
                status: LoginResponse.ResponseType.AccountBanned,
                characterNames: new string[] { "toon1", "toon2" },
                premiumAccountDaysRemaining: 3);

            var second = new LoginResponse(
                status: LoginResponse.ResponseType.AccountBanned,
                characterNames: new string[] { "toon1", "toon2" },
                premiumAccountDaysRemaining: 3);

            Assert.IsTrue(first.Equals(second));
        }