public void Progress_bar_should_be_red_if_tests_have_failed() { EstablishContext(); failed.Value = 1; taskBarList.AssertWasCalled(tbl => tbl.SetProgressState(Arg <IntPtr> .Is.Anything, Arg <TBPFLAG> .Is.Equal(TBPFLAG.TBPF_ERROR))); }