public void ReturnsSameValueForSameSetOfActivities() { var converter = new ActivitiesConverter(); var activities = converter.Convert("TB", null); var same = converter.Convert("TB", null); Assert.Same(activities, same); var different = converter.Convert("TB-D", null); Assert.NotSame(activities, different); }
public void SplitActivities(string input) { var converter = new ActivitiesConverter(); var activities = converter.Convert(input, null); Assert.Equal(input, activities.Value); }