@Test
public void tpsToTpwOverflowTest()
{

  OperatorContext context = createOperatorContext(Integer.MAX_VALUE, 1);
  boolean overflowException = false;
  try {
    WindowUtils.tpsToTpw(context, Long.MAX_VALUE);
  } catch (Exception e) {
    overflowException = true;
  }
  Assert.assertTrue(overflowException);
}