@Test public void deserializesCorrectly() throws Exception {

  LoginRequest loginRequest = LoginRequest.from("keywhizAdmin", "adminPass".toCharArray());
  assertThat(fromJson(jsonFixture("fixtures/loginRequest.json"), LoginRequest.class))
      .isEqualTo(loginRequest);
}