public void ErrorNoActiveMember() { vMemId = null; MockPath.SetupGet(x => x.MemberId).Returns(vMemId); var f = new FabStepFault(FabFault.Code.InvalidStep, 0, "", ""); SetupFault(f, "active"); CheckConsumePathThrows(f); }
public override void SetUp() { base.SetUp(); vMemId = 34223462346; vVertIdProp = DbName.Vert.Vertex.VertexId; vVertIdParam = "_P0"; vMemIdParam = "_P1"; vScript = ".has(" + vVertIdParam + ", " + vMemIdParam + ")"; vToType = typeof(FabMember); vStep = new TravStepActive(); MockItem.Setup(x => x.VerifyParamCount(0, -1)); MockPath.SetupGet(x => x.MemberId).Returns(vMemId); MockPath.Setup(x => x.AddParam(vVertIdProp)).Returns(vVertIdParam); MockPath.Setup(x => x.AddParam(vMemId)).Returns(vMemIdParam); MockPath.Setup(x => x.AddScript(vScript)); }