public void JsonSerializationServiceTest() { ISerializationService serializationService = new JsonSerializationService(); var data = new Dictionary <char, double> { ['а'] = 0.5, ['б'] = 0.25, ['в'] = 0.333 }; var serializedData = serializationService.SerializeData(data); const string expectedResult = "{\"а\":0.5,\"б\":0.25,\"в\":0.333}"; Assert.That(serializedData == expectedResult); }