OpenGamma/OG-Commons — pull request #32 by julianhowarth (2014-11-07 16:54:53+00:00)
Title: PLT-500 - AssertJ matcher for Result

PR adds the ability to do AssertJ fluent assertions on Result objects. Thus the following is now possible:

```java
Result result = beanMaster.insertBean(bean);
assertThat(result)
.isSuccess()
.hasValue(1l);
```
or
```java
Result result = beanMaster.insertBean(bean2);
assertThat(result)
.isFailure(FailureReason.ERROR)
.hasFailureMessageMatching("some db error");

```