	@Test
	public void whenAddAccountInvokedItShouldReturnAddedAccount() {

		Account mockAccount = mock(Account.class);
		Long id = new Long(1);

		when(mockAccount.getId()).thenReturn(id);
		when(mockAccount.getName()).thenReturn("Sagar Jadhav");
		when(service.addAccount(mockAccount)).thenReturn(mockAccount);

		ResponseEntity<Account> responseEntity = controller.addAccount(mockAccount);
		assertEquals(HttpStatus.CREATED, responseEntity.getStatusCode());
		assertEquals(mockAccount, responseEntity.getBody());
	}