Exemplo n.º 1
0
        public void CanDelegateOwnership_ShouldBeFalse()
        {
            // Arrange
            var clan = new Clan("TestClan", new UserId());

            // Act Assert
            clan.CanDelegateOwnership().Should().BeFalse();
        }
Exemplo n.º 2
0
        public void CanDelegateOwnership_ShouldBeTrue()
        {
            // Arrange
            var clan = new Clan("TestClan", new UserId());

            clan.AddMember(new Invitation(new UserId(), clan.Id));

            // Act Assert
            clan.CanDelegateOwnership().Should().BeTrue();
        }