public void EntityConverter_ConvertDynamicObjectToJson_WithCorrectDynamicObject_Succeeds() { dynamic account = new { code = "123", description = "Test" }; const string jsonValue = @"{""code"":""123"",""description"":""Test""}"; string json = _entityConverter.ConvertDynamicObjectToJson(account); Assert.AreEqual(jsonValue, json); }