assertj-vavr
assertj-vavr copied to clipboard
Map on Try assertion returns inaccessible abstract type
Hi,
I'd like to know if I'm not understanding the usage correctly. My situation is that after mapping on a TryAssert, I get an inaccessible abstract AbstractTryAssert, which doesn't let me continue chaining assertions.
What I'm trying to do...
AbstractTryAssert<?, DataItem> inaccessibleAbstract = assertThat(service.getData()).map(t -> t.getItem());
It seems that this doesn't compile because AbstractTryAssert.map returns AbstractTryAssert instead of SELF.
Is this a quick fix? Are you accepting pull requests?