Or
m_contactPresenter.ContactAdapter
.AssertWasCalled(a => a.Names = Arg.Is.Anything);
Of course the generic type of Arg needs to correspond to your
property's type.
On 19 Jan., 22:03, Colin Desmond
wrote:
> Excellent, thank you Phil.
>
> Colin
>
> On Jan 19, 3:52 pm, Phil wrote:
>
> > try:
Excellent, thank you Phil.
Colin
On Jan 19, 3:52 pm, Phil wrote:
> try: m_contactPresenter.ContactAdapter.AssertWasCalled(a => a.Names =
> null);
>
> On Jan 19, 3:03 am, Colin Desmond
> wrote:
>
> > In the fluent syntax is it possible to test whether a set only
> > property (not get method def
try: m_contactPresenter.ContactAdapter.AssertWasCalled(a => a.Names =
null);
On Jan 19, 3:03 am, Colin Desmond
wrote:
> In the fluent syntax is it possible to test whether a set only
> property (not get method defined) is called. I am not too bothered
> about the parameters being passed.
>
> So