コード例 #1
0
        public override async Task Given()
        {
            _queueClientMock = new Mock <IQueueClient>();

            var context = new MoviesContextBuilder()
                          .AddEntities(Data.Movie())
                          .Build();

            var server = new ServerBuilder()
                         .AddMock(context)
                         .AddMock(_queueClientMock.Object)
                         .Build();

            _client = server.CreateClient();
        }