top
(README.md)
# eachers
[Gomega](http://github.com/onsi/gomega) matchers that integrate with [hel](http://github.com/nelsam/hel) mocks.

hel uses channels to store the history of a method. This allows tests to assert that the file was called any number of times in a go-routine safe way. 

While Gomega has matchers for channels (e.g. [Receive](http://onsi.github.io/gomega/#receive)), they don't lend themselves to asserting for multiple values. *eachers* is intended to fill that void.

## Provided Matchers ##

###`EqualEach`###
```
Expect(helChannel).To(EqualEach(1,2,3))
```

###`BeEquivalentToEach`###
```
Expect(helChannel).To(BeEquivalentToEach(1,2,3))
```

###`Each`###
```
Expect(helChannel).To(Each(BeEquivalentTo,1,2,3))
```

Note: `Each` is actually used by both `EqualEach` and `BeEquivalentToEach`.

Imported only in test by 26 package(s)

  1. code-acceptance.cfapps.io/noaa/consumer
  2. github.com/apoydence/bdd-talk
  3. github.com/apoydence/eachers/testhelpers
  4. github.com/apoydence/lachesis/decorator
  5. github.com/bradylove/envstruct
  6. github.com/cloudfoundry/dropsonde/dropsonde_marshaller
  7. github.com/cloudfoundry/dropsonde/dropsonde_unmarshaller
  8. github.com/cloudfoundry/dropsonde/log_sender
  9. github.com/cloudfoundry/dropsonde/metricbatcher
  10. github.com/cloudfoundry/dropsonde/metrics
  11. github.com/cloudfoundry/dropsonde/signature
  12. github.com/cloudfoundry/loggregator/src/doppler/grpcmanager
  13. github.com/cloudfoundry/loggregator/src/doppler/listeners
  14. github.com/cloudfoundry/loggregator/src/doppler/sinkserver/sinkmanager
  15. github.com/cloudfoundry/loggregator/src/doppler/sinkserver/websocketserver
  16. github.com/cloudfoundry/loggregator/src/metron/networkreader
  17. github.com/cloudfoundry/loggregator/src/metron/writers/batch
  18. github.com/cloudfoundry/loggregator/src/metron/writers/dopplerforwarder
  19. github.com/cloudfoundry/loggregator/src/metron/writers/eventmarshaller
  20. github.com/cloudfoundry/loggregator/src/metron/writers/eventunmarshaller
  21. github.com/cloudfoundry/loggregator/src/metron/writers/messageaggregator
  22. github.com/cloudfoundry/loggregator/src/trafficcontroller/grpcconnector
  23. github.com/cloudfoundry/loggregator/src/trafficcontroller/listener
  24. github.com/cloudfoundry/loggregator/src/trafficcontroller/middleware
  25. github.com/cloudfoundry/loggregator/src/truncatingbuffer
  26. github.com/cloudfoundry/noaa/consumer

Imports 2 package(s)

  1. github.com/onsi/gomega
  2. github.com/onsi/gomega/types

Test imports 1 package(s)

  1. github.com/onsi/ginkgo