Class ObjectOnlyTest

All Implemented Interfaces:
EqualsContract<ObjectOnly>, HashCodeContract<ObjectOnly>, ObjectContract<ObjectOnly>, ToStringContract<ObjectOnly>, ContractSupport<ObjectOnly>, ProviderSupport<ObjectOnly>, SupportedMethods

public class ObjectOnlyTest extends AbstractTest implements ObjectContract<ObjectOnly>
Tests for the ObjectOnly class.
Since:
1.0
Author:
evanbergstrom
See Also:
  • Constructor Details

    • ObjectOnlyTest

      public ObjectOnlyTest()
  • Method Details

    • provider

      @NotNull public @NotNull ObjectProvider<ObjectOnly> provider()
      Specified by:
      provider in interface ProviderSupport<ObjectOnly>
    • testObjectIsOnlyInterface

      @Test @DisplayName("ObjectOnly only implements the Object interface.") public void testObjectIsOnlyInterface()
      Test that ObjectOnly only implements the Object interface.