public void CreateMethod() { // preparation var cosmos = new Mock.CosmosMock(); var logger = new Mock.LoggerMock <BeaconApi>(); var beaconApi = new BeaconApi(cosmos, logger); }
public void CreateMethod() { // preparation var cosmos = new Mock.CosmosMock(); var logger = new Mock.LoggerMock <InfectionApi>(); var userApi = new InfectionApi(cosmos, logger); }
public void CreateMethod() { // preparation var cosmos = new Mock.CosmosMock(); var logger = new Mock.LoggerMock <RegisterApi>(); var registerApi = new RegisterApi(cosmos, logger); }
public void CreateMethod() { // preparation var cosmos = new Mock.CosmosMock(); var notification = new Mock.NotificationServiceMock(); var logger = new Mock.LoggerMock <UserApi>(); var userApi = new UserApi(cosmos, notification, logger); }
public void RunMethod() { // preparation var cosmos = new Mock.CosmosMock(); var logger = new Mock.LoggerMock <BeaconApi>(); var beaconApi = new BeaconApi(cosmos, logger); var context = new Mock.HttpContextMock(); // action beaconApi.Run(context.Request); // assert }
public void RunMethod() { // preparation var cosmos = new Mock.CosmosMock(); var cryption = new Mock.CryptionServiceMock(); var logger = new Mock.LoggerMock <RegisterApi>(); var registerApi = new RegisterApi(cosmos, cryption, logger); var context = new Mock.HttpContextMock(); // action registerApi.Run(context.Request); // assert }
public void RunMethod() { // preparation var cosmos = new Mock.CosmosMock(); var notification = new Mock.NotificationServiceMock(); var logger = new Mock.LoggerMock <UserApi>(); var userApi = new UserApi(cosmos, notification, logger); var context = new Mock.HttpContextMock(); // action userApi.Run(context.Request); // assert }