FormDatas { public FormDatas toTop() { return toTop( 0 ); } private  FormDatas( Control control ); static FormDatas attach( Control control ); FormDatas toLeft(); FormDatas toLeft( int margin ); FormDatas atLeftTo( Control control ); FormDatas atLeftTo( Control control, int margin ); FormDatas atLeftTo( Control control, int margin, int alignment ); FormDatas fromLeft( int numerator ); FormDatas fromLeft( int numerator, int margin ); FormDatas toRight(); FormDatas toRight( int margin ); FormDatas atRightTo( Control control ); FormDatas atRightTo( Control control, int margin ); FormDatas atRightTo( Control control, int margin, int alignment ); FormDatas fromRight( int numerator ); FormDatas fromRight( int numerator, int margin ); FormDatas toTop(); FormDatas toTop( int margin ); FormDatas atTopTo( Control control ); FormDatas atTopTo( Control control, int margin ); FormDatas atTopTo( Control control, int margin, int alignment ); FormDatas fromTop( int numerator ); FormDatas fromTop( int numerator, int margin ); FormDatas toBottom(); FormDatas toBottom( int margin ); FormDatas atBottomTo( Control control ); FormDatas atBottomTo( Control control, int margin ); FormDatas atBottomTo( Control control, int margin, int alignment ); FormDatas fromBottom( int numerator ); FormDatas fromBottom( int numerator, int margin ); FormDatas withWidth( int width ); FormDatas withHeight( int height ); FormData getFormData();  }
@Test public void toTop() { FormDatas actual = attach( control ).toTop(); assertThat( actual ).isAttachedToTop( 0, 0 ); }