public void Can_Create_OwnerVote() { // Arrange IPartitionSpace partitionSpace = landRegistry.CreatePartitionSpace(23, "Stan 1", new PhysicalPerson("12345678901", "Mile", "Milic"), 20); // Act OwnerVote ownerVote = new OwnerVote(true, partitionSpace); // Assert Assert.IsNotNull(ownerVote); }
/// <summary> /// Glasanje /// </summary> /// <param name="ownerVote">glas vlasnika</param> public void AddVote(OwnerVote ownerVote) { ownerVotes.Add(ownerVote); evaluate(); }