예제 #1
0
        public void CanAcceptReuqestTest()
        {
            var request           = new FriendRequestDummyCreator().Create();
            var someRandomCitizen = new CitizenDummyCreator().Create();


            Assert.IsTrue(friendService.CanAcceptReuqest(request.SecondCitizen, request).isSuccess);
            Assert.IsFalse(friendService.CanAcceptReuqest(request.ProposerCitizen, request).isSuccess);


            Assert.IsFalse(friendService.CanAcceptReuqest(someRandomCitizen, request).isSuccess);
        }