In 2nd edition section 2.8 P.95 the testView() method fails when testing the content.
junit.framework.AssertionFailedError: expected:<[Ljava.lang.Object;@82acef> but was:<[Ljava.lang.String;@127a20c>
at junit.framework.Assert.fail(Assert.java:47)
I pasted the code from the source webpage and checked it several times so I am fairly certain my code is the same as on P95.
Should the code:
assertEquals(expectedContent,
contentProvider.getElements(viewer.getInput()));
be in a loop like the code for the label test?