Basic usage of InetAddress
StateException must be public to catch it outside of the package
Nominal states comparison
A unit test for IdleState using Mockito for mocking