tags:

views:

16

answers:

1

Playing around with BehaveN

This is my scenario

Given a new calculator
When adding "2"
Then the result is 1

Problem is with When part, it receives null as argument.

public void when_adding_x1(string x1)
{
    //x1 == null :(
    throw new PendingException();
}

Any ideas what's wrong?

A: 

Took source from git and it works now...

Arnis L.