Class GsonNotificationReaderTest

java.lang.Object
com.reallifedeveloper.common.infrastructure.GsonNotificationReaderTest

public class GsonNotificationReaderTest extends Object
  • Constructor Details

    • GsonNotificationReaderTest

      public GsonNotificationReaderTest()
  • Method Details

    • realNotification

      @Test public void realNotification()
      This test shows how an EventStore can be used to help work with notifications.
    • eventTypeForNotificationWithNullEventType

      @Test public void eventTypeForNotificationWithNullEventType()
    • eventTypeForEmptyNotification

      @Test public void eventTypeForEmptyNotification()
    • storedEventIdForNotificationWithNullStoredEventId

      @Test public void storedEventIdForNotificationWithNullStoredEventId()
    • storedEventIdForEmptyNotification

      @Test public void storedEventIdForEmptyNotification()
    • occurredOnForNotificationWithNullOccurredOn

      @Test public void occurredOnForNotificationWithNullOccurredOn()
    • occurredOnForEmptyNotification

      @Test public void occurredOnForEmptyNotification()
    • eventVersionForNotificationWithNullEventVersion

      @Test public void eventVersionForNotificationWithNullEventVersion()
    • eventVersionForNotificationWitoutEventVersion

      @Test public void eventVersionForNotificationWitoutEventVersion()
    • eventVersionForNotificationWitNullEvent

      @Test public void eventVersionForNotificationWitNullEvent()
    • eventIntValue

      @Test public void eventIntValue()
    • eventIntValueMin

      @Test public void eventIntValueMin()
    • eventIntValueMax

      @Test public void eventIntValueMax()
    • eventIntValueEmpty

      @Test public void eventIntValueEmpty()
    • eventIntValueNonExisting

      @Test public void eventIntValueNonExisting()
    • eventIntValueNotInteger

      @Test public void eventIntValueNotInteger()
    • eventLongValue

      @Test public void eventLongValue()
    • eventLongValueMin

      @Test public void eventLongValueMin()
    • eventLongValueMax

      @Test public void eventLongValueMax()
    • eventLongValueEmpty

      @Test public void eventLongValueEmpty()
    • eventLongValueNonExisting

      @Test public void eventLongValueNonExisting()
    • eventLongValueNotInteger

      @Test public void eventLongValueNotInteger()
    • eventDoubleValue

      @Test public void eventDoubleValue()
    • eventDoubleValueMin

      @Test public void eventDoubleValueMin()
    • eventDoubleValueMax

      @Test public void eventDoubleValueMax()
    • eventDoubleValueNull

      @Test public void eventDoubleValueNull()
    • eventDoubleValueNotNumber

      @Test public void eventDoubleValueNotNumber()
    • eventStringValue

      @Test public void eventStringValue()
    • eventStringValueNull

      @Test public void eventStringValueNull()
    • eventStringValueNonExisting

      @Test public void eventStringValueNonExisting()
    • eventDateValue

      @Test public void eventDateValue()
    • eventDateValueNull

      @Test public void eventDateValueNull()
    • eventDateValueNonExisting

      @Test public void eventDateValueNonExisting()
    • eventDateValueNonWrongFormat

      @Test public void eventDateValueNonWrongFormat()
    • eventTypeMissingType

      @Test public void eventTypeMissingType()
    • notificationIdMissingId

      @Test public void notificationIdMissingId()
    • occurredOnMissingDate

      @Test public void occurredOnMissingDate()
    • eventVersionMissingVersion

      @Test public void eventVersionMissingVersion()
    • nestedFieldNameNonExistingField

      @Test public void nestedFieldNameNonExistingField()
    • nestedFieldNameNotAnObject

      @Test public void nestedFieldNameNotAnObject()
    • constructorNullJsonObject

      @Test public void constructorNullJsonObject()
    • constructorNotAJsonObject

      @Test public void constructorNotAJsonObject()
    • constructorMalformedJsonObject

      @Test public void constructorMalformedJsonObject()
    • validJsonButNotValidEventMessage

      @Test public void validJsonButNotValidEventMessage()