public void ConvertEntityToJson() { var converter = new JsonConverter <TestClass>(); string expected = GetSampleJson(); var actual = converter.ConvertBack(GetSampleClass()); actual.Should().BeOfType(typeof(string)); ((string)actual).Should().Equals(expected); }