public void CreateBorrowedMedia_UserUnknown_ShouldBeFalse() { var userId = FakeUserFactory.GetFakeDummyId(); var mediaId = FakeMediaFactory.GetTotoIdMedia(); var result = _borrowService.BorrowMedia(userId, mediaId); result .Should() .BeFalse(); }
public void CreateBorrowedMedia_NotAvailableMedia_ShouldBeFalse() { var userId = FakeUserFactory.GetDummyIdUser(); var mediaId = FakeMediaFactory.GetTotoIdMedia(); var result = _borrowService.BorrowMedia(userId, mediaId); result .Should() .BeFalse(); }