 
             //then
             assertTrue(positionOfNull != -1);
-            assertEquals(-1, _sut.getItemIndex(null));
+            assertEquals(positionOfNull, _sut.getItemIndex(null));
             assertEquals(positionOfFirstWorkout, _sut.getItemIndex(_firstWorkout));
         }
 

            var sort:InspectableSort = new InspectableSort([new SortField("name")]);
            _sut.sort = sort;
            _sut.refresh();
            const positionOfNull:int = _sut.getItemIndex(null);
            const positionOfFirstWorkout:int = _sut.getItemIndex(_firstWorkout);



            //then
            assertTrue(positionOfNull != -1);
            assertEquals(positionOfNull, _sut.getItemIndex(null));
            assertEquals(positionOfFirstWorkout, _sut.getItemIndex(_firstWorkout));
        }

