public function testmark_lines_deleted()
 {
     $aosProductsQuotes = new AOS_Products_Quotes();
     //create parent bean
     $aosQuote = new AOS_Quotes();
     $aosQuote->id = 1;
     //get the linked beans and get record count before deletion
     $product_quote_lines = $aosQuote->get_linked_beans('aos_products_quotes', $aosQuote->object_name);
     $expected = count($product_quote_lines);
     $product_quote_lines = null;
     $aosProductsQuotes->mark_lines_deleted($aosQuote);
     unset($aosQuote);
     //get the linked beans and get record count after deletion
     $aosQuote = new AOS_Quotes();
     $aosQuote->id = 1;
     $product_quote_lines = $aosQuote->get_linked_beans('aos_products_quotes', $aosQuote->object_name);
     $actual = count($product_quote_lines);
     $this->assertLessThan($expected, $actual);
 }