}
@Test
public void markInviteAccepted() throws InviteException {
jdbcTemplate.update("insert into Member (firstName, lastName, email, password, username, gender, birthdate) values ('Keith', 'Donald', 'keith.donald@springsource.com', 'kdonald', 'melbourne', 'M', '1977-12-01')");
Account signedUp = new Account(3L, "Keith", "Donald", "keith.donald@springsource.com", "kdonald", "http://localhost:8080/resources/profile-pics/3.jpg", new UriTemplate("http://localhost:8080/members/{id}"));
inviteRepository.markInviteAccepted("abc", signedUp);
try {
inviteRepository.findInvite("abc");
fail("Should have failed already accepted");
} catch (InviteAlreadyAcceptedException e) {