public void SubmissionBusinessLogic_IsInScopeForThisReportYear_ReturnsTrueFalseCorrectly(int returnId, int maxEmployees, ScopeStatuses scope, bool expected) { // Arrange var submissionBusinessLogic = new SubmissionBusinessLogic(Mock.Of <IDataRepository>()); Organisation organisation = OrganisationHelper.GetOrganisationInAGivenScope(scope, "employerRefInScope", 2017); Return returnToConvert = ReturnHelper.CreateTestReturn(organisation); returnToConvert.ReturnId = returnId; returnToConvert.MaxEmployees = maxEmployees; // Act ReturnViewModel actualConvertedReturnViewModel = submissionBusinessLogic.ConvertSubmissionReportToReturnViewModel(returnToConvert); // Assert Assert.AreEqual(expected, actualConvertedReturnViewModel.IsInScopeForThisReportYear); }