All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.grzesiek_galezowski.test_environment.buffer.implementation.NullObserver Maven / Gradle / Ivy

package com.github.grzesiek_galezowski.test_environment.buffer.implementation;

import com.github.grzesiek_galezowski.test_environment.buffer.interfaces.BufferObserver;
import com.github.grzesiek_galezowski.test_environment.buffer.interfaces.ItemSubscriber;
import org.assertj.core.api.Condition;

import java.util.List;

/**
 * Created by grzes on 08.07.2017.
 */
public class NullObserver implements BufferObserver {

  @Override
  public void searchingStartedWithin(
      final List receivedObjects,
      final Condition condition) {

  }

  @Override
  public void tryingToMatch(
      final T receivedObject,
      final Condition condition) {

  }

  @Override
  public void matchAttemptSuccessful(
      final T receivedObject,
      final Condition condition,
      final String matchDescription) {

  }

  @Override
  public void searchingFinishedWith(
      final Throwable exception,
      final T receivedObjectThatCausedException) {

  }

  @Override
  public void searchingFinished(
      final long matchesCount) {

  }

  @Override
  public void matchAttemptFailed(final T receivedObject, final Condition condition, final String matchDescription) {

  }

  @Override
  public void periodicPollingStarted() {

  }

  @Override
  public void singlePollStarted() {

  }

  @Override
  public void singlePollFinishedWith(final boolean pollResult) {

  }

  @Override
  public void exceptionWhileNotifyingSubscriberAboutStoredItem(final ItemSubscriber subscriber, final T object) {

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy