Inheritance: IActivityLevelTypeBusinessLogic
 public void shouldGetActivityLevelTypes()
 {
     var activityLevelTypeRepositoryMock = new Mock<IActivityLevelTypeRepository>();
     var expectedActivityLevelTypes = new List<ActivityLevelType>();
     activityLevelTypeRepositoryMock.Setup(x => x.GetAll()).Returns(expectedActivityLevelTypes);
     var result = new ActivityLevelTypeBusinessLogic(activityLevelTypeRepositoryMock.Object).GetActivityLevelTypes();
     Assert.That(result, Is.SameAs(expectedActivityLevelTypes));
 }
 public void shouldGetActivityLevelTypeFromName()
 {
     var activityLevelTypeRepositoryMock = new Mock<IActivityLevelTypeRepository>();
     var expectedActivityLevel = new ActivityLevelType();
     var expectedLevelToGet = "Medel";
     activityLevelTypeRepositoryMock.Setup(x => x.GetByName(It.Is<string>(y => y == expectedLevelToGet))).Returns(expectedActivityLevel);
     var result = new ActivityLevelTypeBusinessLogic(activityLevelTypeRepositoryMock.Object).GetActivityLevelType(expectedLevelToGet);
     Assert.That(result, Is.SameAs(expectedActivityLevel));
 }