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(); }