@SuppressWarnings("unchecked")
    private SpscChannelConsumer<E> newConsumer(Object... args) {
        return mapper.newFlyweight(SpscChannelConsumer.class, "ChannelConsumerTemplate.java",
                Template.fromFile(Channel.class, "ChannelConsumerTemplate.java"),  args);
    }
@Test
    public void shouldNotReadFromEmptyChannel() {
        ChannelConsumer consumer = newConsumer();

        assertEmpty();
        assertFalse(consumer.read());
    }