using System;
using NUnit.Framework;
using Rhino.Mocks;
namespace Roxit.Link.Test
{
[TestFixture]
public class RhinoTest
{
[Test]
public void TestStub()
{
Onzin onzin = MockRepository.GenerateStub<Onzin>();
onzin.Test();
}
public class Onzin
{
public void Test()
{
throw new Exception("We don't expect this to be
thrown");
}
}
}
}
--
You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group.
To post to this group, send email to rhino...@googlegroups.com.
To unsubscribe from this group, send email to rhinomocks+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en.
> > rhinomocks+...@googlegroups.com<rhinomocks%2Bunsubscribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rhinomocks?hl=en.
>
> --
> Jono- Hide quoted text -
>
> - Show quoted text -
> To unsubscribe from this group, send email to rhinomocks+...@googlegroups.com.
On Jan 4, 8:48 pm, Tim Barcz <timba...@gmail.com> wrote:
> I'll be honest in that I don't run into this problem very often because I
> almost always try to have an interface in there...and as Caio pointed out,
> it's not a problem that shows up when programming interfaces.
>
> Tim
>
> On Mon, Jan 4, 2010 at 1:53 PM, Caio Kinzel Filho <cai...@gmail.com> wrote:
>
>
>
>
>
> > I think most of the time, when you are programming against interfaces
> > rather than against implementations, you will not have that problem,
> > once rhino.mocks can just implement that interface instead of
> > inheriting from your implementation
>
> Tim Barcz
> Microsoft C# MVP
> Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://www.twitter.com/timbarcz- Hide quoted text -
On Jan 4, 11:06 pm, bill richards <bill.richa...@greyskin.co.uk>
wrote:
> > Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://www.twitter.com/timbarcz-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
Tim
>>>>>>> %2Bunsubscribe@googlegrou ps.com>
>>>> <rhinomocks%2Bunsubscribe@googlegrou ps.com>
>>>>>>> .
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/rhinomocks?hl=en.
>>
>>>>>> --
>>>>>> Jono- Hide quoted text -
>>
>>>>>> - Show quoted text -
>>
>>>>> --
>>
>>>>> You received this message because you are subscribed to the
>>>>> Google Groups
>>>> "Rhino.Mocks" group.
>>>>> To post to this group, send email to rhino...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>> rhinomocks+...@googlegroups.com<rhinomocks
>>>> %2Bunsubscribe@googlegrou ps.com>
>>>> .
>>>>> For more options, visit this group at
>>>> http://groups.google.com/group/rhinomocks?hl=en.
>>
>>>> --
>>
>>>> You received this message because you are subscribed to the
>>>> Google Groups
>>>> "Rhino.Mocks" group.
>>>> To post to this group, send email to rhino...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> rhinomocks+...@googlegroups.com<rhinomocks
>>>> %2Bunsubscribe@googlegrou ps.com>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/rhinomocks?hl=en.
>>
>>> --
>>> Tim Barcz
>>> Microsoft C# MVP
>>> Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://
>>> www.twitter.com/timbarcz-Hide quoted text -
>>
>>> - Show quoted text -- Hide quoted text -
>>
>> - Show quoted text -
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Rhino.Mocks" group.
> To post to this group, send email to rhino...@googlegroups.com.
> To unsubscribe from this group, send email to rhinomocks+...@googlegroups.com
from the tone of your response it seems that I have somehow offended
you. This was not my intention, I was merely attempting to highlight
the fact that had the code been develped in a TDD fashion you would
not have encountered this issue.
> > > Microsoft ASPInsiderhttp://timbarcz.devlicio.ushttp://www.twitter.com/timbarcz-Hidequoted text -