public AggregateNameControllerTests() { var messageSession = new TestableMessageSession(); getAllAggregateNamesQueryMock = new Mock <IGetAllAggregateNamesQuery>(); getAggregateNameByIdQueryMock = new Mock <IGetAggregateNameByIdQuery>(); sut = new AggregateNameController(messageSession, getAllAggregateNamesQueryMock.Object, getAggregateNameByIdQueryMock.Object); }
public AggregateNameControllerTests() { _sut = new AggregateNameController(); }