{
SequenceSupport support = this.dialect.getSequenceSupport();
if (support != null)
{
SequenceProperties sequence = mock(SequenceProperties.class);
QualifiedName name = mock(QualifiedName.class);
when(sequence.getName()).thenReturn(name);
when(name.getDDLName()).thenReturn("sequence");
when(sequence.getIncrement()).thenReturn(1);
String result = support.getAlterSequenceSQL(sequence, 1000L);
assertEquals("ALTER SEQUENCE sequence RESTART WITH 1000", result);
}