public void CanGetContact()
        {
            var repo         = new Mock <IContactStateRepository>();
            var contactState = new Fakes.ContactState();

            repo.Setup(s => s.GetContactState(contactState.Guid)).Returns(contactState);
            var sut       = new ContactsController(repo.Object);
            var sutResult = sut.Get(contactState.Guid);

            Assert.Equal(contactState.Guid, sutResult.Guid);
        }
        public void CanGetContacts()
        {
            var repo         = new Mock <IContactStateRepository>();
            var contactState = new Fakes.ContactState();

            repo.Setup(s => s.GetContactStates()).Returns(new List <IContactState> {
                contactState
            });
            var sut       = new ContactsController(repo.Object);
            var sutResult = sut.Get();

            Assert.Equal(1, sutResult.Count());
            Assert.Equal(contactState.Guid, sutResult.First().Guid);
        }