public void SetUp() { actualOutput = null; writer = new ServiceMessageWriter(output => actualOutput = output); }