If I'm sweating near a valve I like to take out the parts. I see the bottom one has the parts out. I also prefer to solder first and then assemble, though if you're careful you can do like what you have in the picture. Either way, you will want to test that well before closing up the wall.