资 源 简 介
Project has been moved to [testory.org](http://testory.org)
Testory makes your tests human-readable by using given-when-then idiom advised by Behavior Driven Development.
With Testory you can decorate your code adding given, when and then keywords, where then works like junit"s assertTrue.
```java
given(list = new ArrayList());
when(list.add("element"));
then(!list.isEmpty());
```
You can assert value returned in when ...
```java
given(list = new ArrayList());
given(list.add("element"));
when(list.get(0));
thenReturned("element");
```
or assert that exception was thrown.
```java
given(list = new ArrayList());
when(list).get(0);
thenThrown(IndexOutOfBoundsException.class)