コード例 #1
0
    public void TestPrefixReplacements(string input, string expectedResult)
    {
        _instance.Prefix = input;

        //Call the input method which will raise the Output event which we can test
        _instance.Input("Any string goes here as we test only prefix.");

        Assert.AreEqual(expectedResult, _instance.Prefix);
    }