javaee-unit-testing
@Test(expected = ) - ClientTest - testNameIsNull() + testNameIsEmpty()
try...catch - ClientTest - testEmailIsNull()
ExpectedException - ClientTest - testRegistrationDateIsNull
hasProperty - ClientTest - testRegistrationDateIsBeforeToday
ErrorCollector - ClientTest - testClient()
getInternalState() - ClientTest - testAllowAccess()
setInternalState() - ClientDAOImplTest - setup()
whenNew - AuthenticationServerPowerMockTest - testLogin
mockStatic - AuthenticationServerPowerMockTest - testLoginNoSuchAlgorithm
ClientDataBuilder
ClientDAOImplTest
@BeforeClass - ClientDAOImplTest - setup()
@Before - beginTransaction()
@After - clearData()
@Mock - ClientServiceTest
@InjectMocks - ClientServiceTest
when - ClientServiceTest
thenThrow - ClientServiceTest
Argument matchers - ClientServiceTest - testLoginWithWrongPassword
ArgumentCaptor - ClientServiceTest - testInsert() + testAllowAccess()
spy doReturn()|doThrow()| doAnswer()|doNothing()|doCallRealMethod()
ng new angular-app -sg --routing -is -style=scss
cd angular-app
npm install --save @angular/material @angular/cdk hammerjs
npm install --save material-design-icons
npm install --save @angular/animations
ng g c login