public void EncodeToString(byte[] data, string expected) { // Arrange var context = new TestCaseContext(); var sut = new StringEncoder( context.Options, context.Logger); // Act var result = sut.EncodeToString(data); // Assert Assert.Equal(expected, result); }