The Probate Code contains a similar provision at § 2507 (2) that invalidates a will or testamentary trust in favor of an estranged spouse after a divorce action has been commenced (under certain circumstances). (pollockbegg.com)
However, the changes to the taxation of testamentary trusts will likely make alter ego and joint partner trusts a more attractive estate planning vehicle for some. (mcinnescooper.com)