public void Deserialize_WithProperData_ShouldDeserializeToList() { var subject = new PersonalizationContainerSerializer(); var list = subject.Deserialize(serializedData); Assert.AreEqual(2, list.Count()); Assert.AreEqual(new Guid("c7cc5de0-6729-4877-9037-668f4408e38f"), list.First().ContainerID); }
public PersonalizationContainerCollector(IContentMap contentMap, PersonalizationContainerSerializer serializer) { _contentMap = contentMap; _serializer = serializer; }