public void testStripSpaces() { StringTheory theory = new StringTheory(" Hi! There!"); StringTheory theory2 = new StringTheory("Hi!There!"); Assert.True(theory.StripSpaces() == 2, "Reported number of spaces was wrong."); Assert.True(theory.Equals(theory2), "Test string doesn't match the reference."); }