public void ConvertMarksParticipantsInRecordsWithConversionKeywordDifferentThanExperimentName()
{
//arrange
_commands.Reset();
const string experimentName = "Troy's Experiment";
const string convKeyword = "CONVERT_ON_ME";
const string userId = "USER_123";
_commands.GetOrCreateExperiment(experimentName, convKeyword, new[] { "Foo", "Bar" });
_commands.GetOrCreateParticipationRecord(experimentName, () => "Foo", userId);
//act
_commands.Convert(convKeyword, userId);
//assert
var xml = XDocument.Parse(_commands.SavedXml);
var exp = xml.Root.Elements("Experiment").Single();
var record = exp.Element("Participants").Elements("Participant").Single();
var convertAtt = record.Attribute("HasConverted");
convertAtt.ShouldNotBeNull();
bool.Parse(convertAtt.Value).ShouldBeTrue();
}