public void IsOff() { var mplc = GetMPLC(); var bit = new Bit(mplc, "B100"); mplc.GetBit(Arg.Is("B100")).Returns(false); var isOff = bit.IsOff(); Assert.IsTrue(isOff); }