Value object to provide the following to web form registration:
A set of user-provided web form authentication credentials, consisting of a username and password.
The web form normally initiates the creation of an authentication cookie
2627282930313233343536
when(client.resource(expectedUri)).thenReturn(webResource); when(builder.post(String.class)).thenReturn( FixtureAsserts.jsonFixture("/fixtures/hal/user/expected-client-register-customer-user.json") ); WebFormClientRegistration registration = new WebFormClientRegistration( "bob", "bob1" ); // Act