commit | 2ea380d6479d261ef2a5e81390f2485129043845 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Fri May 24 13:28:44 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Fri May 24 13:28:44 2019 +0900 |
tree | f48c39f907f821bcdb554f3abd07716350b3e5e7 | |
parent | 81b31d74c2915aa691e305548bfb8fc6f4a47990 [diff] |
Migrate from "expected = " to assertThrows By using assertThrows we make it more explicit on which statements the exception is expected to be thrown. Particularly in the ConfigUtil test this makes the code more readable; the current implementation has calls to the assertThat methods that are never actually executed because the exception is thrown. Change-Id: I5db0f469af6b2fe4857dd8134a9acb21ee997361