コード例 #1
0
        public void TestThat_KnownUserVotes_GetsItsDataFromTheDataProvider()
        {
            var dataProvider = new DataProviderBuilder().Build();
            var controller   = new VotingControllerBuilder().WithDataProvider(dataProvider).Build();

            controller.KnownUserVotes();

            dataProvider.Received().GetKnownUserVotes();
        }