コード例 #1
0
        public async Task GetsNothingWhenAskingForPositionsInitially()
        {
            var position = await _positionManager.Get("test-topic", 1);

            Assert.That(position, Is.Null, $"Did not expect to receive anything - got this: {position}");
        }
コード例 #2
0
    public async Task GetsNothingWhenAskingForPositionsInitially()
    {
        var position = await _positionManager.Get("test-topic", partition : 1);

        Assert.That(position, Is.EqualTo(Position.Default("test-topic", partition: 1)));
    }