public void MusicSelection_MethodSetTitle_ArgumentTitleIsWhiteSpace_ThrowsArgumentException() { //Arrange Contributor composer = new Contributor(new Name("David", "", "Haas"), "Composer"); MusicSelectionMock myMusicSelection = new MusicSelectionMock("9999991e810c19729de860ea", "507f191e810c19729de860ea", "Blest Are They", composer); //Act myMusicSelection.setTitle(" "); }
public void MusicSelection_MethodSetTitle_FieldTitle_LowerCaseSetCorrectly() { //Arrange Contributor composer = new Contributor(new Name("David", "", "Haas"), "Composer"); MusicSelectionMock myMusicSelection = new MusicSelectionMock("9999991e810c19729de860ea", "507f191e810c19729de860ea", "Blest Are They", composer); //Act myMusicSelection.setTitle(" You Are Mine "); //Assert Assert.AreEqual("you are mine", myMusicSelection.Title_LowerCase); }