Menu

Close
  • Home
Subscribe
Menu

moq

A 2-post collection

Page 1 of 1

Moq: Missing Expect methods (Expect, ExpectGet, ExpectSet)

I got stuck on a really stupid problem yesterday and I just figured it out as I was writing a post on the Moq forums. It seems really dumb and maybe that’s why I couldn’t find any help on it, but since I didn’t find anything anywhere I decided to at least »

Mark J. Miller on moq 11 March 2009

Unit Testing: Moq doesn’t support property indexers

I hit a road block today writing some tests which were dependent upon another class’s property indexer. When trying to do the following using Moq: 1: [TestMethod] 2: public void Test1() 3: { 4: Mock context = new Mock(); 5:  6: Object actual »

Mark J. Miller on unit_testing, moq 26 February 2009
Page 1 of 1
developMENTALmadness © 2017
Casper theme powered by Ghost