public int addStatusTest([PexAssumeUnderTest] BusinessPlayer target, string data) { int result = target.addStatus(data); return(result); // TODO: add assertions to method BusinessPlayerTest.addStatusTest(BusinessPlayer, String) }
private void simpleButton1_Click(object sender, EventArgs e) { if (business.addStatus(editStatus.Text) > 0) { MessageBox.Show("Thêm thành công!"); loadData(); } else { MessageBox.Show("Thêm thất bại!"); } }