public void SetUp() { var record = TestContext.CurrentContext.Test.Name; if (cassette.Contains(record)) { Context.Player.Play(record); } else { Context.Player.Record(record); } }
public void Contain_RecordNotExists_ReturnsFalse() { var cassette = new Cassette(Context.Cassette1); Assert.IsFalse(cassette.Contains("wrong")); }
public void Contain_RecordExists_ReturnsTrue() { var cassette = new Cassette(Context.Cassette1); Assert.IsTrue(cassette.Contains("record1")); }