*/
@Test(groups = "unit", testName = "SessionApiExpectTest")
public class SessionApiExpectTest extends BaseDynTrafficApiExpectTest {
public void testCreateWhenResponseIs2xx() {
DynTrafficApi apiCreatesSession = requestSendsResponse(createSession, createSessionResponse);
assertEquals(apiCreatesSession.getSessionApi().login(SessionCredentials.builder()
.customerName("jclouds")
.userName("joe")
.password("letmein").build()).toString(),
new CreateSessionResponseTest().expected().toString());
}