jjzjj

deviceDetailsDTO

全部标签

c# - 单元测试返回 void 的方法

想在下面的类中对一个方法进行单元测试publicclassDeviceAuthorisationService:IDeviceAuthorisationService{privateDeviceDetailsDTOdeviceDetailsDTO=null;privateIDeviceAuthorisationRepositiorydeviceAuthorisationRepositiory;publicDeviceAuthorisationService(IDeviceAuthorisationRepositioryServiceparamDeviceAuthorisationRep