Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Fix java6 compiling on my computer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Bunge committed Dec 29, 2014
1 parent 36da310 commit 5b50240
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package io.tracee.jaxws.client;


import org.junit.Assert;
import org.hamcrest.Matcher;
import org.junit.Test;
import org.mockito.Mockito;

import javax.xml.ws.handler.PortInfo;

import static org.hamcrest.Matchers.any;
import static org.hamcrest.Matchers.hasItem;
import static org.junit.Assert.assertThat;

public class TraceeClientHandlerResolverTest {

Expand All @@ -17,6 +18,7 @@ public class TraceeClientHandlerResolverTest {

@Test
public void testGetHandlerChain() throws Exception {
Assert.assertThat(unit.getHandlerChain(portInfo), hasItem(any(TraceeClientHandler.class)));
final Matcher<Iterable<? super TraceeClientHandler>> matcher = hasItem(any(TraceeClientHandler.class));
assertThat(unit.getHandlerChain(portInfo), matcher);
}
}

0 comments on commit 5b50240

Please sign in to comment.