Issue 46

Pushed 558c9c213852de9b442a4a7f542408c3c8194a45 to the branch, as agreed.
A static like that doesn't exist. I think we could just change this to 
assertNotEquals for simplicity, if you like that better.

On 10/1/14, 7:45 PM, Alex Snaps wrote:
> In
> impl/src/test/java/org/ehcache/internal/store/OnHeapStoreValueHolderTest.java:
>
>> +    long start = vh.lastAccessTime(TimeUnit.MILLISECONDS);
>> +    Thread.sleep(10); // I don't like it but think it's appropriate here
>> +    vh.value();
>> +    assertTrue(vh.lastAccessTime(TimeUnit.MILLISECONDS) > start);
>> +  }
>> +
>> +  @Test
>> +  public void testEquals() {
>> +    ValueHolder<Integer> vh = new OnHeapStoreValueHolder<Integer>(10);
>> +    assertThat(new OnHeapStoreValueHolder<Integer>(10), is(vh));
>> +  }
>> +
>> +  @Test
>> +  public void testNotEquals() {
>> +    ValueHolder<Integer> vh = new OnHeapStoreValueHolder<Integer>(10);
>> +    assertThat(new OnHeapStoreValueHolder<Integer>(101), new Not(is(vh)));
>
> |new Not(| ? Why not use the static method like for the other matchers?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ehcache/ehcache3/pull/95/files#r18320324>.
>