func (s *EventSuite) TestShouldGetEventVersion(c *C) {
	ev := &SomeEvent{"Some data", 456}
	em := NewEventMessage(NewUUID(), ev, Int(5))
	c.Assert(*em.Version(), Equals, 5)
}
TODO: Do i need this still?
func (s *EventSuite) TestShouldGetTypeOfAggregate(c *C) {
em := &EventMessage{aggregate: &SomeAggregate{}}
c.Assert(em.AggregateType(), Equals, "SomeAggregate")
}
package ycq
import (
	"math/rand"
	. "gopkg.in/check.v1"
)
var _ = Suite(&EventSuite{})
type EventSuite struct {
}
type SomeEvent struct {
	Item  string
	Count int
}
type SomeOtherEvent struct {
	OrderID string
}
func NewTestEventMessage(id string) *EventDescriptor {
	ev := &SomeEvent{Item: NewUUID(), Count: rand.Intn(100)}
	return NewEventMessage(id, ev, nil)
}
func (s *EventSuite) TestNewEventMessage(c *C) {
	id := NewUUID()
	ev := &SomeEvent{Item: "Some String", Count: 43}
	em := NewEventMessage(id, ev, nil)
	c.Assert(em.id, Equals, id)
	c.Assert(em.event, Equals, ev)
	c.Assert(em.headers, NotNil)
}
func (s *EventSuite) TestShouldGetTypeOfEvent(c *C) {
	se := &SomeEvent{"Some String", 42}
	em := &EventDescriptor{event: se}
	c.Assert(em.EventType(), Equals, "SomeEvent")
}