public void TestGetFramePathByIdMethod() { var service = new FramesService(framesRepo.Object, obituaryRepo.Object); var framePath = service.GetFramePathById("frame1Id"); Assert.Equal("framePath1", framePath); }
public void TestShowAllFramesMethod() { var service = new FramesService(framesRepo.Object, obituaryRepo.Object); var framesCount = service.ShowAllFrames().Count(); Assert.Equal(2, framesCount); }
public FramesController() { framesService = new FramesService(); driveServices = new DriveServices(); }