+#############################################
+
+test { shift->{qty}, shift->{qty}, 'back and forth in one transaction' } {
+ transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'),
+ parts => $part,
+ src_bin => $bin2,
+ src_warehouse => $wh,
+ dst_bin => $bin1,
+ dst_warehouse => $wh,
+ qty => 1,
+},
+{
+ transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'),
+ parts => $part,
+ src_bin => $bin1,
+ src_warehouse => $wh,
+ dst_bin => $bin2,
+ dst_warehouse => $wh,
+ qty => 1,
+};
+
+#############################################
+
+test { shift->{qty}, shift->{qty}, 'warehouse reduced interface' } {
+ transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'),
+ parts => $part,
+ src_bin => $bin2,
+ dst_bin => $bin1,
+ qty => 1,
+},
+{
+ transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'),
+ parts => $part,
+ src_bin => $bin1,
+ dst_bin => $bin2,
+ qty => 1,
+};
+
+
+SL::DB::Manager::Inventory->delete_objects(where => [parts_id => $part->id]);
+
+$bin1->delete;
+$bin2->delete;
+$wh->delete;
+$part->delete;
+
+done_testing;