public void whenBuildingNotificationEventWithAPIValuePACKAGE_EXPIREThenPACKAGE_EXPIRENotificationEventIsReturned() { string expectedAPIValue = "PACKAGE_EXPIRE"; NotificationEvent classUnderTest = NotificationEvent.valueOf("PACKAGE_EXPIRE"); string actualAPIValue = classUnderTest.getApiValue(); Assert.AreEqual(expectedAPIValue, actualAPIValue); }