public void ItShouldCreateTheCorrectFolder() { PortableDeviceHelper.AssertWasCalled( helper => helper.CreateFolderObject( Arg <IPortableDeviceContent> .Is.Equal(PortableDeviceContent), Arg <string> .Is.Equal("fooId"), Arg <string> .Is.Anything)); }
public void ItShouldCreateParentFolderObject() { PortableDeviceHelper.AssertWasCalled( helper => helper.CreateFolderObject(PortableDeviceContent, "xId", "y")); }
public void ItShouldDeleteOriginalObject() { PortableDeviceHelper.AssertWasCalled(helper => helper.DeleteObject(PortableDeviceContent, "fooId")); }